﻿<td valign="top" width="73%" class="blankt">
<div align="center">
  <table class="border" summary="المواضيع" border="1" cellspacing="1" width="100%">
    <tr>
      <td class="tcat" colspan="5">المواضيع</td>
    </tr>
{if REPLY eq 1}
{if $NoReply neq 1}
    <tr>
      <td class="thead" width="3%">&nbsp;</td>
      <td class="thead" width="3%">&nbsp;</td>
      <td class="thead" width="54%">عنوان الموضوع</td>
      <td class="thead" width="20%">كاتب الموضوع</td>
      <td class="thead" width="20%">آخر مشاركة</td>
    </tr>
    {section name=idx loop=$lastrsubjects_row}
    <tr>
      <td class="row1"><img alt="" src="{$info_row.icon_path}{$lastrsubjects_row[idx].icon}" border="0" /></td>
      <td class="row3dark"><a href="usercp.php?keepmeon=1&amp;id={$lastrsubjects_row[idx].id}"><img alt="" src="{$image_path}/trash.gif" border="0" ظ></a></td>
      <td class="row1"><a href="show.php?main=1&amp;id={$lastrsubjects_row[idx].id}">{$lastrsubjects_row[idx].title|escape:"html"}</a></td>
      <td class="row3dark"><a href="misc.php?profile=1&amp;username={$lastrsubjects_row[idx].writer|escape:"html"}">{$lastrsubjects_row[idx].writer|escape:"html"}</a> | {$lastrsubjects_row[idx].write_date}</td>
      <td class="row1" align="center">{if $replier_r[idx].username|escape:"html" neq ""}<a href="misc.php?profile=1&amp;id={$replier_r[idx].id}">{$replier_r[idx].username|escape:"html"}</a> | {$reply_r2[idx].write_date}{else}لا يوجد ردود{/if}</td>
    </tr>
    {/section}
{else}
<tr><td class="row3" colspan="5">لم تشارك في أي موضوع حتى الآن</td></tr>
{/if}
{/if}
{if SUBJECT eq 1}
{if $NoSubject neq 1}
    <tr>
      <td class="thead" width="6%">&nbsp;</td>
      <td class="thead" width="54%">عنوان الموضوع</td>
      <td class="thead" width="20%">كاتب الموضوع</td>
      <td class="thead" width="20%">آخر مشاركة</td>
    </tr>
    {section name=idx loop=$subjects_row}
    <tr>
      <td class="row3dark"><img alt="" src="{$info_row.icon_path}{$subjects_row[idx].icon}" border="0" /></td>
      <td class="row1"><a href="show.php?main=1&amp;id={$subjects_row[idx].id}">{$subjects_row[idx].title|escape:"html"}</a></td>
      <td class="row3dark"><a href="misc.php?profile=1&amp;username={$subjects_row[idx].writer|escape:"html"}">{$subjects_row[idx].writer|escape:"html"}</a> | {$subjects_row[idx].write_date}</td>
      <td class="row1" align="center">{if $replier_r[idx].username|escape:"html" neq ""}<a href="misc.php?profile=1&amp;id={$replier_r[idx].id}">{$replier_r[idx].username|escape:"html"}</a> | {$reply_r2[idx].write_date}{else}لا يوجد ردود{/if}</td>
    </tr>
{/section}
{else}
<tr><td class="row3" colspan="3">لم تكتب أي موضوع حتى الآن</td></tr>
{/if}
{/if}
  </table>

</div>
<div align="left">{include file="pager.tpl"}</div>
</td></tr></table>